package com.cskaoyan.mapper;

import com.cskaoyan.bean.MarketFootPrint;
import com.cskaoyan.bean.MarketFootPrintExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketFootPrintMapper {
    long countByExample(MarketFootPrintExample example);

    int deleteByExample(MarketFootPrintExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketFootPrint record);

    int insertSelective(MarketFootPrint record);

    List<MarketFootPrint> selectByExample(MarketFootPrintExample example);

    MarketFootPrint selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketFootPrint record, @Param("example") MarketFootPrintExample example);

    int updateByExample(@Param("record") MarketFootPrint record, @Param("example") MarketFootPrintExample example);

    int updateByPrimaryKeySelective(MarketFootPrint record);

    int updateByPrimaryKey(MarketFootPrint record);

    void insertMarketFootPrint(@Param("goodsId")Integer id,@Param("userId") Integer userId);

}